package dao;

import java.sql.SQLException;

import model.Admin;
import model.User;

public interface AdminDao {
	//注册
	boolean register(String id, String name, String sex, String pwd1,String phone) throws SQLException;

	Admin getAdminByIdAndPwd(String name, String pwd) throws SQLException;
}
